package com.gx.enums;

public enum OperationStatusEnum implements EnumCode<Integer> {

    FAIL(0, "失败"), SUCCESS(1, "成功");

    private Integer code;
    private String message;

    OperationStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
